package de.baumann.browser.iview

/**
 *@author:
 *@date:2019/7/12 12:24
 *@discription: 我的页面
 */
interface IMineView : IQueryRoleView {

    companion object {
        const val SUPER_NODE_USER = 0
        const val CARD_USER = 1
        const val CARD_SMALL_USER = 11
        const val AUTO_MINING_USER = 2
        const val USER_INVALID = 4
        const val ORDINARY_USER = 99
        const val ACCOUNT_LOCK = 100
        const val CARD_USER_ETH_CONFIRM = 111
    }


    /**
     * 设置总收益
     */
    fun setTotalProfit(profit: String)

    /**
     * 设置累计算力
     */
    fun setTotalHash(hash: String)

//    fun setUserRole(role: Int)
}